#!/usr/bin/env python3
s=input("Enter a line:")
print ("The number of words in the line are %d" %(len(s.split(" "))))
